#pragma once
#include "../planner/planner.h"

#define SCREEN_SDA 4
#define SCREEN_SCL 5

class _display
{
public:

    static void begin();

    static void draw_uint32(uint32_t draw, uint8_t x, uint8_t y, uint8_t size = 10);

    static void draw_strings(const char *chr, uint8_t x, uint8_t y);

    static millis_t update_screen; // 屏幕刷新

    static void update(uint8_t clr = 0);

    static bool init;
};
extern _display display;